{* Smarty *}
{*
 *  This file is part of Urd.
 *
 *  Urd is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation; either version 3 of the License, or
 *  (at your option) any later version.
 *  Urd is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with this program. See the file "COPYING". If it does not
 *  exist, see <http://www.gnu.org/licenses/>.
 *
 * $LastChangedDate: 2008-06-23 20:01:47 +0200 (Mon, 23 Jun 2008) $
 * $Rev: 1215 $
 * $Author: gavinspearhead $
 * $Id: faq.tpl 1215 2008-06-23 18:01:47Z gavinspearhead $
 *}
{strip}
{capture assign="basket"}
<table class="baskettable">
<tr><td>
	<div id="innerbasketdiv"> 
	<table class="innerbaskettable">
	<tr><td>{$LN_basket_setname}: <input name="dlsetname" id="dlsetname" type="text" value="{$dlsetname|escape:htmlall}" size="60"/></td><td class="basketright">{$LN_basket_totalsize}:</td><td class="basketright nowrap"><b>{$totalsize}</b></td></tr>
	{assign var='totalsize' value='0'}
	{foreach from=$addedsets item=q name=loopies}
	<tr><td class="basketleft" colspan="2">{$q.subject|truncate:125:"..."|escape:htmlall}</td><td class="basketright nowrap">{if $q.size == 0}?{else}{$q.size}{/if}</td></tr>
	{assign var='totalsize' value=`$totalsize+$q.size`}
	{/foreach}
	</table>
	</div>
</td></tr>
</table>
{/capture}
{if $smarty.foreach.loopies.total > 0}
{$basket}
{/if}
{/strip}
